(C) 1996 AROS - The Amiga Replacement OS


NAME
#include <string.h>
char * strstr()
SYNOPSIS
const char * str
const char * search

FUNCTION
Searches for a string in a string.

INPUTS
str
Search this string
search
Look for this string
RESULT
A pointer to the first occurence of search in str or NULL if search is not found in str.

NOTES
EXAMPLE
char buffer[64];

strcpy (buffer, "Hello ");

// This returns a pointer to the first l in buffer.
strstr (buffer, "llo ");

// This returns NULL
strstr (buffer, "llox");

BUGS
SEE ALSO
strchr(), strrchr(), strpbrk()
INTERNALS
HISTORY
11.12.1996 aros
New functions